<?php

namespace common\model;

use think\model\RelationModel;

class TaskMemberModel extends RelationModel
{
    const EXECUTOR_FIELD = 'user_id';
    const ASSIGNEE_FIELD = 'partner';

    protected $_auto = [
        ['created', 'time', self::MODEL_INSERT, 'function'],
        ['updated', 'time', self::MODEL_UPDATE, 'function']
    ];
}